﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="UserPassword.ascx.cs"
    Inherits="Framework.Portal.Layouts.Admin.Components.Users.UserPassword" %>
<asp:UpdatePanel ID="upanelChangePassword" runat="server" UpdateMode="Conditional"
    RenderMode="Inline">
    <ContentTemplate>
        <table border="0" cellpadding="0" cellspacing="1" class="content" style="width: 100%">           
            <tr>
                <td colspan="2" class="header2" height="18">
                    <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="postheader" align="left" width="35%">
                    <NS:Label ID="Label10" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="USERNAME" /></td>
                <td class="post" align="left" width="65%">
                    <asp:Label ID="lblUsername" runat="server" Font-Bold="True"></asp:Label><asp:HiddenField ID="hddPassword" runat="server" /></td>
            </tr>
            <tr>
                <td class="postheader" align="left" width="35%">
                    <NS:Label ID="Label1" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="CURENTPASSWORD" /></td>
                <td class="post" align="left" width="65%">
                    <asp:TextBox ID="txtCurrentPassword" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCurrentPassword"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="postheader" align="left" width="35%">
                    <NS:Label ID="Label2" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="NEWPASSWORD" /></td>
                <td class="post" align="left" width="65%">
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="postheader" align="left" width="35%">
                    <NS:Label ID="Label3" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="RENEWPASSWORD" /></td>
                <td class="post" align="left" width="65%">
                    <asp:TextBox ID="txtPasswordConfirm" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtPasswordConfirm" ErrorMessage="*"></asp:CompareValidator></td>
            </tr>            
            <tr>
                <td class="postfooter" colspan="2" valign="middle" align="center">
                    <NS:Button LocalizedPage="ACTION" LocalizedTag="CHANGEPASSWORD" ID="btnManagePassword" runat="server" CssClass="pbutton" OnClick="btnManagePassword_Click" />
                    <NS:Button LocalizedPage="ACTION" LocalizedTag="RESET" ID="btnCancel" runat="server" CssClass="pbutton" Width="84px" OnClientClick="btnCancel_Click" /></td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
